package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bbzn.device.client.dao.nbdatail.NbDetailMapper;
import com.bbzn.device.client.dataobject.NbDetail;
import com.bbzn.device.client.service.NbDetailService;
@Service
public class NbDetailServiceImpl implements NbDetailService{

    @Resource
    private NbDetailMapper nbDetailMapper;

    @Override
    public int deleteByPrimaryKey(String imei) {
        return nbDetailMapper.deleteByPrimaryKey(imei);
    }

    @Override
    public int insert(NbDetail record) {
        return nbDetailMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(NbDetail record) {
        return nbDetailMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(NbDetail record) {
        return nbDetailMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(NbDetail record) {
        return nbDetailMapper.insertSelective(record);
    }

    @Override
    public NbDetail selectByPrimaryKey(String imei) {
        return nbDetailMapper.selectByPrimaryKey(imei);
    }

    @Override
    public int updateByPrimaryKeySelective(NbDetail record) {
        return nbDetailMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NbDetail record) {
        return nbDetailMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<NbDetail> findByAll(NbDetail nbDetail) {
        return nbDetailMapper.findByAll(nbDetail);
    }

    @Override
    public int updateBatch(List<NbDetail> list) {
        return nbDetailMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<NbDetail> list) {
        return nbDetailMapper.batchInsert(list);
    }

}
